import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import router from './router'
import { setupStore } from '@/store'
import { setupI18n } from '@/plugins/vueI18n'
import Pagination from '@/components/Pagination/index.vue'

import App from './App.vue'
import 'ant-design-vue/dist/reset.css'
import './style.css'
import './permission'

const app = createApp(App)

await setupI18n(app)
setupStore(app)
app.component('Pagination', Pagination)
app.use(router)
app.use(Antd)

app.mount('#app')
